<?php /* Smarty version 2.6.2, created on 2011-05-18 16:43:46
         compiled from addlist.tpl */ ?>
<?php if ($this->_tpl_vars['say'] == 'redirecLR'): ?>
	<head>
		<title>Redirecting to LR....</title>
	</head>
	<!-- <form method="post" name="sbmtToLR" action="https://sci.libertyreserve.com"> -->
	<form method="post" name="sbmtToLR" action="https://sci.libertyreserve.com">
		<input type="hidden" name="lr_acc" value="<?php echo $this->_tpl_vars['settings']['admin_lr_account']; ?>
"  /> 
		<input type="hidden" name="lr_amnt" value="<?php echo $this->_tpl_vars['fee']; ?>
" > 
		<input type="hidden" name="lr_currency" value="LRUSD" /> 
		<input type="hidden" name="lr_comments" value="Add program by:<?php echo $this->_tpl_vars['email']; ?>
" />
		<input type="hidden" name="lr_success_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=`&say=success" /> 
		<input type="hidden" name="lr_success_url_method" value="POST" />  
		<!-- <input type="hidden" name="lr_fail_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=lr_processing&say=notsuccess" /> --> 
		<input type="hidden" name="lr_fail_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=add" /> 
		<input type="hidden" name="lr_fail_url_method" value="POST" /> 
		<input type="hidden" name="lr_status_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
" />
		
		<input type="hidden" name="listingOpt" value="<?php echo $this->_tpl_vars['listingOpt']; ?>
" />
		<input type="hidden" name="type" value="<?php echo $this->_tpl_vars['listingOpt']; ?>
" />
		<input type="hidden" name="action" value="addProgram" />
		<input type="hidden" name="email" value="<?php echo $this->_tpl_vars['email']; ?>
" />
		 
		<br>
		<center>
		<table  width="70%" style="margin-top: 150px;" >
			<tr>
				<td align="center">Redirected to LibertyReserve, Please Waiting......</td>
			</tr>
			<tr>
				<td align="center">
					<input type="submit" value="Pay <?php echo $this->_tpl_vars['fee']; ?>
 via Liberty Reserve >>" /> 
				</td>
			</tr>
		</table>
		</center>
	</form>
	<?php echo '
	<script type="text/javascript">
		//set time out 1s
		var interval = 1000;
		function StartTheTimer() {
			self.setTimeout("StartTheTimer()", interval);
		    document.sbmtToLR.submit();
		}
		StartTheTimer();
	</script>
	'; ?>

<?php else: ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<form name="listing" method="get" onsubmit="return checkEmail()">
		<input type="hidden" name="a" value="addlist">
		<input type="hidden" name="say" value="redirecLR">
		<table width=100% border=0 cellspacing=0 cellpadding=0>
			<tr>
				<td valign="middle"  class="box1">
					<img src="images/t7.gif" align="left">
					<div class="side_title" align="left">Advertise</div>
				</td>
			</tr>
			<tr>
				<td  class="box2">
					<table cellspacing=4  border=0 width=100%>
						<tr>
							<td align="justify">
								<span class="press_text">
									<strong><?php echo $this->_tpl_vars['settings']['site_name']; ?>
</strong> 
									is a listing of HYIP programs.
									Please read the following rules carefully before listing your program
									</span>
								<ul>
									<li>You can add a new <b>HYIP</b> program if you are it's administrator or owner.</li>
									<li>Do not submit a referral url.</li>
									<li>Your program will be added in the list automatically after
										sending us your payment.You will receive the html code for the
										monitor button or you can find it in the details page by
										yourself. Then you can copy the button code to place it on your
										website.</li>
									<li>We have the right to refuse your program listing.</li>
									<li>You cannot rate your own program. If our system will find
										these votes program will be blacklisted. To get more proper
										votes you can place our button in most visible place on your
										site and ask your members for voting every 24 hours.</li>
									<li>Your Program Status will be based meticulously on the following criteria and circumstances:
										<ol type="disc">
											<li class="top2">
												<b>PAYING</b>:we are regularly receiving payments from your program without any problems.
											</li>
											<li class="top2">
												<b>WAITING </b>:program is newly added and no payment
												made yet; withdrawal is pending because program is offline for
												maintenance or script update.
											</li>
											<li class="top2">
												<b>PROBLEM</b>:we have 2 or more pending withdrawals;
												site is inaccessible for some days; with verified reports of
												unpaid investor/s even if you are paying us, cases of selective
												payments.
											</li>
											<li class="top2">
												<b>NOT PAYING</b>:we have not received payment for 2 or
												more withdrawal requests made within a considerable time span;
												with verified reports of unpaid investor/s.
											</li>
										</ol>
									</li>
									<li>If you agree on these conditions, please proceed on listing your program below.</li>
								</ul>
							</td>
						</tr>
						<tr>
							<td>
									<table width="84%" cellspacing="10" border=0 align="center" style="border: 1px;border-style: outset;border-color: #4582AF;">
										<tr>
											<td colspan="2" align="justify">
												<span id="premiummListingId"><span class="press_text"><b>Premium Listing</b>: $<?php echo $this->_tpl_vars['settings']['premiummonitorfees']; ?>
 </span> 
													willbe reinvested into your program for the monitoring.
													<span class="press_text">$<?php echo $this->_tpl_vars['settings']['premiumlistingfees']; ?>
 </span> fee. If the minimum deposit of your program is higher than
													<span class="press_text">$<?php echo $this->_tpl_vars['settings']['premiummonitorfees']+$this->_tpl_vars['settings']['premiumlistingfees']; ?>
</span>  you have to spend the minimum amount. </span>
												<span id="normalListingId"><span class="press_text"><b>Normal Listing</b>: $<?php echo $this->_tpl_vars['settings']['normalmonitorfees']; ?>
</span>  
													willbe reinvested into your program for the monitoring.
													<span class="press_text">$<?php echo $this->_tpl_vars['settings']['normallistingfees']; ?>
</span>  fee. If the minimum deposit of your program is higher than
													<span class="press_text">$<?php echo $this->_tpl_vars['settings']['normalmonitorfees']+$this->_tpl_vars['settings']['normallistingfees']; ?>
</span>  you have to spend the minimum amount. </span>
												<span id="trailListingId"><span class="press_text"><b>Trial Listing</b>: $<?php echo $this->_tpl_vars['settings']['trialmonitorfees']; ?>
</span>  
													willbe reinvested into your program for the monitoring.
													<span class="press_text">$<?php echo $this->_tpl_vars['settings']['triallistingfees']; ?>
</span>  fee. If the minimum deposit of your program is higher than
													<span class="press_text">$<?php echo $this->_tpl_vars['settings']['trialmonitorfees']+$this->_tpl_vars['settings']['triallistingfees']; ?>
</span>  you have to spend the minimum amount. </span>		
											</td>
										</tr>
										<tr>
											<td align="right" width="35%">
												 <b>Listing Options:</b>
											</td>
											<td align="left">
												<select onchange="listingChange()"  name="programOption" style="width: 200px;">
													<option value="1">Premiumm($<?php echo $this->_tpl_vars['settings']['premiummonitorfees']+$this->_tpl_vars['settings']['premiumlistingfees']; ?>
)</option>
													<option value="2">Normal($<?php echo $this->_tpl_vars['settings']['normalmonitorfees']+$this->_tpl_vars['settings']['normallistingfees']; ?>
)</option>
													<option value="3">Trial($<?php echo $this->_tpl_vars['settings']['trialmonitorfees']+$this->_tpl_vars['settings']['triallistingfees']; ?>
)</option>
												</select>
											</td>
										</tr>
										<tr>
											<td align="right">
												<b>Contact E-mail:</b>
											</td>
											<td align="left">
												<input type="text" name="email" style="width: 200px;" />
											</td>
										</tr>
										<tr>
											<td align="right">
												<b>Pay Via e-Currency:</b>
											</td>
											<td align="left">
												<select name="eCurrentPayment" style="width: 150px;">
													<option value="1">Liberty Reserver</option>
												</select>
											</td>
										</tr>
										
										<tr>
											<td>&nbsp;</td>
											<td align="left">
												<input type="submit" value="Spend now" class="sbmt"  />
											</td>
										</tr>
										
									</table>
								<br/>
								<br/>
							</td>
						</tr>
					</TABLE>
				</td>
			</tr>
		</table>
		<?php echo '
		<script type="text/javascript">
			premiummListing = "1";
			normalListing = "2";
			trialListing = "3";
			function listingChange(){
				var listingOption= document.listing.programOption.value;
				var premiummListingId = document.getElementById("premiummListingId");
				var normalListingId = document.getElementById("normalListingId");
				var trailListingId = document.getElementById("trailListingId");
		
				premiummListingId.style.display="none";
				normalListingId.style.display="none";
				trailListingId.style.display="none";
				var listDescStr = "";
				if(premiummListing == listingOption+""){
					premiummListingId.style.display="block";
				}else if(normalListing == listingOption){
					normalListingId.style.display="block";
				}else if(trialListing == listingOption){
					trailListingId.style.display="block";
				}
			}
			listingChange();
	
			//check email by regular
			
			function checkEmail() {
				var email = document.listing.email;
				var filter = /^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$/;
				if(email.value.trim().length == 0){
					//alert(\'Please provide a valid email address\');
					alert(\'Please, enter your E-Mail address!\');
					email.focus();
					email.select();
					return false;
				}else if (!filter.test(email.value)) {
					alert(\'Please provide a valid email address\');
					email.focus();
					email.select();
					return false;
				}else{
					return true;
				}
			}
			
			
		</script>
		'; ?>

	</form>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php endif; ?>
